package com.repair.api.pay.request.param;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDate;

/**
 * @author chunyu
 * @since 2024/10/20,19:02
 */
@Data
public class PayQueryParam implements Serializable {

    private static final long serialVersionUID = 1L;

    private Integer currentPage;

    private Integer pageSize;

    private String payOrderNum;

    private String method;

    private String account;

    private String orderNum;

    private Long payerId;

    @JsonFormat(pattern = "yyyy-MM-dd")
    private LocalDate succeedTimeMin;
    @JsonFormat(pattern = "yyyy-MM-dd")
    private LocalDate succeedTimeMax;

    private BigDecimal priceMin;
    private BigDecimal priceMax;
}
